package com.gxa.eshops.portal.controller;

import com.gxa.eshps.cores.pojo.vo.UserVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;

/**
 * @program: IntelliJ IDEA
 * @description:
 * @author: Mr.Wang
 * @create: 2022-07-04 15:21
 **/
@RestController
@RequestMapping("/user")
@Api(tags = "用户接口文档")
public class UserController {

    @PostMapping("/reg")
    @ApiOperation("用户注册接口")
    public Map<String ,Object> register(UserVO userVO){

        return null;
    }

    @PostMapping("/login")
    @ApiOperation("用户登录接口")
    public Map<String ,Object> login(String phone,String pwd){

        return null;
    }
}
